const express = require("express")
const router = express.Router()
const { db,genid } = require("../database/adapter")

router.get("/id", async (req,res) => {
   
    let out = await db.async.all("select * from admin",[]);

    res.send({
        id:genid.NextId(),
        out:out
    })
});

module.exports = router


